package ink.tiptop.learn.pojo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * (OrderInfo)实体类
 *
 * @author zjf
 * @since 2020-08-14 20:51:45
 */
@Data
@Accessors(chain = true)
@TableName("order_info")
public class OrderInfoPO implements Serializable {
    private static final long serialVersionUID = 737934970856815024L;
    /**
     * 订单唯一ID
     */
    @TableId("id")
    private Integer id;
    /**
     * 关联用户user_info.id
     */
    @TableField("user_id")
    private Integer userId;
    /**
     * 收货地址
     */
    @TableField("address")
    private String address;
    /**
     * 原始总金额
     */
    @TableField("ori_amt")
    private BigDecimal oriAmt;
    /**
     * 实扣总金额
     */
    @TableField("dis_amt")
    private BigDecimal disAmt;
    /**
     * 商品信息
     */
    @TableField("goods_info")
    private String goodsInfo;


}